package ua.edu.nuos.jeetraining2012.automator.translator.vo;

import ua.edu.nuos.jeetraining2012.automator.translator.vo.elements.inhouse.accounts.AccountsElement;
import ua.edu.nuos.jeetraining2012.automator.translator.vo.elements.inhouse.actions.ActionsElement;
import ua.edu.nuos.jeetraining2012.automator.translator.vo.elements.inhouse.initiators.InitiatorsElement;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

/**
 * @author Timur Yarosh
 *         Date: 03.06.13
 *         Time: 21:01
 */
@XmlRootElement(name = "process")
public class InhouseEntity {
    private InitiatorsElement initiators;
    private AccountsElement accounts;
    private ActionsElement actions;
    private int updateTime;

    public InitiatorsElement getInitiators() {
        return initiators;
    }

    @XmlElement
    public void setInitiators(InitiatorsElement initiators) {
        this.initiators = initiators;
    }

    public AccountsElement getAccounts() {
        return accounts;
    }

    @XmlElement
    public void setAccounts(AccountsElement accounts) {
        this.accounts = accounts;
    }

    public ActionsElement getActions() {
        return actions;
    }

    @XmlElement
    public void setActions(ActionsElement actions) {
        this.actions = actions;
    }

    public int getUpdateTime() {
        return updateTime;
    }

    @XmlElement
    public void setUpdateTime(int updateTime) {
        this.updateTime = updateTime;
    }
}
